package com.code.wflow.constants;

/**
 * @author ggh
 * @date 2022/11/8
 */
public enum WorkflowStatus {
    ENABLE((byte) 1, "启用"),
    DISABLE((byte) 2, "禁用");

    private Byte val;

    private String msg;

    WorkflowStatus(Byte val, String msg) {
        this.val = val;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public Byte getVal() {
        return val;
    }
}
